package com.twu.biblioteca.data;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: zgq
 * Date: 13-6-22
 * Time: 下午9:14
 * To change this template use File | Settings | File Templates.
 */
public class Book {
    private String name;
    private String author;
    private String press;

    public Book(String name, String author, String press) {
        this.name = name;
        this.author = author;
        this.press = press;
    }

    public String toString() {
        return "Name:"+name+"\tAuthor:"+author+"\tPress:"+press+"\n";
    }

}
